package com.iotek.bookstore.modle.entity;

public class OrderDetails {
    private int orderDetailsId;
    private long orderId;
    private String book;
    private double price;
    private int number;

    public OrderDetails() {
    }

    public OrderDetails(long orderId, String book, double price, int number) {
        this.orderId = orderId;
        this.book = book;
        this.price = price;
        this.number = number;
    }

    public OrderDetails(int orderDetailsId, long orderId, String book, double price, int number) {
        this.orderDetailsId = orderDetailsId;
        this.orderId = orderId;
        this.book = book;
        this.price = price;
        this.number = number;
    }

    public int getOrderDetailsId() {
        return orderDetailsId;
    }

    public void setOrderDetailsId(int orderDetailsId) {
        this.orderDetailsId = orderDetailsId;
    }

    public long getOrderId() {
        return orderId;
    }

    public void setOrderId(long orderId) {
        this.orderId = orderId;
    }

    public String getBook() {
        return book;
    }

    public void setBook(String book) {
        this.book = book;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}
